package demo.vo;

import java.io.Serializable;
// 1. 日志实体类
public class LogEntry implements Serializable {

    private String timestamp;
    private String level;
    private String className;
    private String message;
    private String ip;

    // 构造函数、getter和setter
    public LogEntry(String timestamp, String level, String className, String message, String ip) {
        this.timestamp = timestamp;
        this.level = level;
        this.className = className;
        this.message = message;
        this.ip = ip;
    }

    // Getters and Setters
    public String getTimestamp() { return timestamp; }
    public String getLevel() { return level; }
    public String getClassName() { return className; }
    public String getMessage() { return message; }
    public String getIp() { return ip; }
}
